openssl req -x509 -newkey rsa:2048 -nodes -keyout server.key -out server.crt -days 365 -subj "/C=CN/ST=Shanghai/L=Shanghai/O=MyCompany/OU=MyDepartment/CN=localhost" -config "C:\Program Files\Git\usr\ssl\openssl.cnf"